package main

import (
	"fmt"
	"math/rand"
	"net/url"
	"strconv"
)

func main() {
	p := fmt.Println
	p(rand.Intn(100), ",")
	p(rand.Intn(100))

	f, _ := strconv.ParseFloat("1.2345", 64)
	p(f)
	k, _ := strconv.Atoi("123")
	p(k)

	s := "http://localhost:8800/user.php?arg=123&id=456"
	u, _ := url.Parse(s)
	p(u.Scheme)
	p(u.Host)
	p(u.Query().Get("arg"))
}
